<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>Donkey TV -VIP视频解析</title>
    <meta name="Keywords" content="爱奇艺,优酷,腾讯,芒果TV等各大主流视频网站VIP视频解析"/>
    <meta name="Description" content="各大主流视频网站VIP解析在线播放"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
    <style>


        .navbar {
            margin-bottom: 0;
        }

        footer {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }

        footer p {
            margin-bottom: .25rem;
        }
        iframe {
            margin-top: 1.5rem;
            background-color: #dff0d8;
            width:100%;
            height:550px;
        }
        .input-group{
            width: 100%;
        }
        header {
            margin-bottom: 1rem;
        }
        #search{
            width: 15rem;
        }
        #search-btn{
            margin-left: 1rem;
        }
        .logo{
            width: 3rem;
            height: auto;
            margin-right: .5rem;
        }

    </style>
    <script>
        eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 9(){0 a=1.2("5").3;0 b=1.2("4");0 c=b.6;0 d=b.8[c].3;0 e=1.2("f");e.g=d+a}',17,17,'var|document|getElementById|value|interface|suffix|selectedIndex|function|options|enjoy||||||player|src'.split('|'),0,{}))
    </script>
</head>
<body>
<header>
    <div class="navbar navbar-dark bg-dark">

        <div class="container d-flex justify-content-start">
            <img class="logo img-fluid rounded" src="/assets/donkey_logo.png"/>
            <a href="/" class="navbar-brand">Donkey TV - VIP视频解析</a>
        </div>
    </div>
</header>

<main role="main">

    <div class="container">
            <div class="d-flex justify-content-center">
                <form action="http://video.so.com/v" target="_blank">
                    <div class="input-group">
                        <input id="search" class="form-control input-lg"  autocomplete="off" type=text placeholder="全网视频搜索" name=q data-provide="typeahead"></input>
                        <button id="search-btn" class="btn btn-success" type="submit" value="">搜索</button>
                    </div>
                </form>                  
            </div>    
        <div class="row">
            <div class="col-md-12">
                <iframe id="player" allowfullscreen="true" width="100%" height="550px" allowtransparency="true" frameborder="0" scrolling="no" src=""></iframe>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="input-group">
                    <span class="input-group-addon input-lg" style="width: 80px; ">接口</span>
                    <select class="form-control input-lg" id="interface">
                        <option value="http://1717yun.duapp.com/1125/?url=">1号通用接口</option>
                        <option value="http://api.baiyug.cn/vip/index.php?url=">2号通用接口</option>
                        <option value="http://xlyy100.com/xlyy.php?url=">3号通用接口</option>
                        <option value="http://jx.biaoge.tv/index.php?url=">4号通用接口</option>
                        <option value="http://www.a305.org/flv.php?url=">5号通用接口</option>
                        <option value="http://www.itono.cn/1717vip1208.php?url=">优酷接口</option>
                        <option value="https://apiv.ga/magnet/">万能磁力链接解析</option>
                    </select>
                </div>
            </div>
            <div class="col-md-6">
                <div class="input-group">
                    <input class="form-control input-lg" type="search" placeholder="输入视频地址,例如:http://www.iqiyi.com/v_19rre8mr18.html?vfm=2008_aldbd" id="suffix" >
                </div>
            </div>
            <div class="col-md-2">
                <button type="button" class="btn btn-success btn-block" onclick="enjoy()">播放</button>
            </div>
        </div>
    </div>



</main>

<footer class="text-muted">
    <div class="container">
        <p class="text-center">Donkey TV 不提供任何存储服务，所有内容均来自互联网，并链接到其网站进行播放.</p>
        <p class="text-center">本站不承担任何法律责任,观众观看本站视频需自行承担任何产生的法律责任，观看本站视频默认接受本站协议.</p>
        <p class="text-center">Copyright 2017 Donkey TV. All Rights Reserved</p>
        <p class="text-center">友情链接:<a href="http://donkeyfilm.com">Donkeyfilm</a></p>
    </div>
</footer>

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap-3-typeahead/4.0.2/bootstrap3-typeahead.min.js" type="text/javascript"></script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1271333426'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1271333426%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>

<script type="text/javascript">

    $('#search').typeahead({
        items:'all',
        matcher:function(item){return true},
        source:  function (query, process) {
        return $.getJSON('https://video.so.com/suggest.php?cb=?&fmt=jsonp&kw='+query,function (data) {
                return process(data);
            });
        }
    });

</script>
</body>
</html>